package com.wen.common.pojo.account;

import com.wen.common.pojo.system.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
public class Account extends BaseEntity /*extends pageHelper*/ {
    private Long id;
    private String username;
    private String password;
    private Integer age;
    private String email;
    private String roles;
    private String perms;

    public Account(){

    }
    public Account(String username, Integer age){
        this.username=username;
        this.age=age;

    }


//    public static Account info(){
//        return new Account("张三",18);
//    }
}
